home *** CD-ROM | disk | FTP | other *** search
/ STraTOS 1997 April & May / STraTOS 1 - 1997 April & May.iso / CD01 / GNU_KIT / DISK6.ZIP / gnu / man / cat1 / split.1 < prev    next >
Encoding:
Text File  |  1994-01-19  |  2.7 KB  |  67 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7. SPLIT(1L) SPLIT(1L)
  8. NAME
  9.      split - split a file into pieces
  10. SYNOPSIS
  11.      split [-lines] [-l lines] [-b bytes[bkm]] [-C bytes[bkm]]
  12.      [+lines=lines] [+bytes=bytes[bkm]] [+line-bytes=bytes[bkm]]
  13.      [infile [outfile-prefix]]
  14. DESCRIPTION
  15.      This manual page documents the GNU version of split.  split
  16.      creates one or more output files (as many as necessary) con-
  17.                                          ______                       taining consecutive sections of the infile, or the standard
  18.      input if none is given or the name `-' is given.  By
  19.      default, split puts 1000 lines of the input file, or what-
  20.      ever is left if it is less than that, into each output file.
  21.      The output file names consist of a prefix followed by a
  22.      group of letters, chosen so that concatenating the output
  23.      files in sorted order by file name produces the original
  24.      input file, in order.  The default output file name prefix
  25.                     _______ ______                                    is `x'. If the outfile-prefix argument is given, it is used
  26.      as the output file name prefix instead.
  27.      OPTIONS
  28.       _____   _ _____   _____ _____      -lines, -l lines, +lines=lines
  29.               _____                                                    Put lines lines of the input file into each output
  30.           file.
  31.       _ _____ ___    _____ _____ ___       -b bytes[bkm], +bytes=bytes[bkm]
  32.               _____                                                    Put bytes bytes of the input file into each output
  33.                  _____                                                     file.  bytes is a nonzero integer, optionally followed
  34.           by one of the following characters to specify a dif-
  35.           ferent unit.
  36.           b 512-byte blocks.
  37.           k 1-kilobyte blocks.
  38.           m 1-megabyte blocks.
  39.       _ _____ ___    ____ _____ _____ ___       -C bytes[bkm], +line-bytes=bytes[bkm]
  40.           Put into each output file as many complete lines of the
  41.                                                       _____           input file as is possible without exceeding bytes
  42.                                                 _____                 bytes.  If a line that is longer than bytes bytes
  43.                       _____                                             occurs, put bytes bytes of it into each output file
  44.                           _____                                            until less than bytes bytes of the line are left, then
  45.                               _____                                      continue normally.  bytes has the same format as for
  46.                _____                   the +bytes option.
  47. Page 1
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.